package com.huatai.verity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huatai.common.api.R;
import com.huatai.verity.entity.ScreenUser;
import com.huatai.verity.model.ScreenQueryModel;

/**
 *
 * @author chenwj
 */
public interface ScreenUserService extends IService< ScreenUser > {

	/**
	 * 保存或更新大屏用户信息
	 * @param screenUser
	 * @return
	 */
	boolean saveScreenUser(ScreenUser screenUser);

	/**
	 * 登录
	 * @param scName
	 * @param scPermissionId
	 * @param clientTime
	 * @return
	 */
	R login(String scName, String scPermissionId, String clientTime);

	/**
	 * 分页获取信息
	 * @param screenQueryModel
	 * @return
	 */
	R getListPage(ScreenQueryModel screenQueryModel);

}
